package com.hmall.mapper;

import com.hmall.model.SysUserExtra;
import com.hmall.util.MyMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface SysUserExtraMapper extends MyMapper<SysUserExtra> {
    SysUserExtra checkUser(@Param("phone") String phone);

    SysUserExtra selectByWeChatOpenId(@Param("open_id") String open_id);

    String[] selectMyUserOpenIdList(@Param("user_id") Integer user_id);

    String selectCustomerName(@Param("open_id") String open_id);
}